package model.xpdl2
{
	public class XPDLVersion
	{
		private var version:String;
		
		public function XPDLVersion()
		{
			version="2.0"
		}
		
		public function genXML():String{
			var xml:String;
			var nsprefix:String="xpdl2";
			xml="<"+nsprefix+":XPDLVersion>"+version+"</"+nsprefix+":XPDLVersion>\n";
			return xml;
		}
		
		public function setVersion(version:String):void{
			this.version=version;
		}
		
		public function getVersion():String{
			return this.version;
		}

	}
}